<?php $this->beginContent('/layouts/main2'); ?>
<div class="container" style="min-height: 500px;">
	<div class="span-5">
		<div id="leftbar" style="min-height: 500px;">
			<div>
				<a href="#">添加服务>></a>
			</div>
			<div>
				<a href="#">关注服务>></a>
			</div>
			<?php
				$dataTree=array(
								array(
									'text'=>'Grampa', //must using 'text' key to show the text
									'link'=>array('url'=>'bilyn'),
									'children'=>array(//using 'children' key to indicate there are children
										array(
											'text'=>'Father',
											'children'=>array(
												array('text'=>'me'),
												array('text'=>'big sis'),
												array('text'=>'little brother'),
											)
										),
										array(
											'text'=>'Uncle',
											'children'=>array(
												array('text'=>'Ben'),
												array('text'=>'Sally'),
											)
										),
										array(
											'text'=>'Aunt',
										)
									)
							)
						);
	
					$this->widget('CTreeView',array(
					        'data'=>$dataTree,
					        'animated'=>'fast', //quick animation
					        'collapsed'=>'false',//remember must giving quote for boolean value in here
					        'htmlOptions'=>array(
					                'class'=>'treeview-gray',//there are some classes that ready to use
					        ),
					));
					$this->widget('application.views.widgets.BTreeMenu.BTreeMenu',array(
					        'data'=>$dataTree,
					//        'animated'=>'fast', //quick animation
					//        'collapsed'=>'false',//remember must giving quote for boolean value in here
					        'htmlOptions'=>array(
					                'class'=>'btreemenu',//there are some classes that ready to use
					        ),
					));
				?>

		</div>
		<!-- sidebar -->
	</div>
	<div class="span-14">
		<div id="content">
		<?php echo $content; ?>
		</div>
		<!-- content -->
	</div>
	<div class="span-5 last">
		<div id="sidebar">side bar</div>
		<!-- sidebar -->
	</div>
</div>
		<?php $this->endContent(); ?>